<template>
    <el-scrollbar>
        <el-menu :default-openeds="['2']" :unique-opened="true" router class="left_menui" style=" border: none;">
            <el-menu-item index="/HomeAdmin"><el-icon>
                    <message />
                </el-icon>首页</el-menu-item>
            <el-sub-menu index="2">
                <template #title><el-icon>
                        <Menu />
                    </el-icon>博客管理</template>
                <el-menu-item index="/HomeAdmin/WriteArticle"><el-icon>
                        <Edit />
                    </el-icon>写文章</el-menu-item>
                <el-menu-item index="/HomeAdmin/ArticleManage"><el-icon>
                        <message />
                    </el-icon>文章管理</el-menu-item>
                <el-menu-item index="2-3"><el-icon>
                        <message />
                    </el-icon>分类管理</el-menu-item>
            </el-sub-menu>
            <el-sub-menu index="3">
                <template #title><el-icon>
                        <Setting />
                    </el-icon>数据字典</template>
                
            </el-sub-menu>
        </el-menu>
    </el-scrollbar>
</template>
  
<script lang="ts" setup>
import { Message, Setting, Menu,Edit } from '@element-plus/icons-vue'


</script>
  
<style scoped lang="scss">
.left_menui{
    
}
</style>
  